package com.dingwen.treasure.kettle.exception;

import com.dingwen.treasure.kettle.base.exception.AbstractBaseRuntimeException;

/**
 * 　TreeBuilderException
 * 　@author dingwen
 * 　@date 2022/6/22
 *
 */
public class TaskException extends AbstractBaseRuntimeException {

    private static final long serialVersionUID = 1285726068488918157L;

    /**
     * 有参构造器子类调用
     *
     * @param message 异常消息
     */
    public TaskException(String message) {
        super(message);
    }

    /**
     * 有参构造器子类调用
     *
     * @param code    异常码
     * @param message 异常消息
     */
    public TaskException(Integer code, String message) {
        super(code, message);
    }
}
